import { BroadCastCall } from "../../broadCast/BroadCastCall";
import { MessageBlock } from "../../../../../Framework/MQ/MessageBlock";
import { SHandselFlowerCrossInfo } from "../../../../../Message/Game/SHandselFlowerCrossInfo";
import { PlayerUtil } from "../../../view/common/util/PlayerUtil";
import { MsgManager } from "../../../manager/MsgManager";
import { Language } from "../../../../../extend/language/Language";
import { HTMLUtil } from "../../../../../com/gengine/utils/HTMLUtil";
import { ColorConfig } from "../../../resource/ColorConfig";
//class FlowersKissBackCrossCommand
    
    export  class FlowersKissBackCrossCommand extends BroadCastCall
    {
        constructor(arg1: Object)
        {
            super(arg1);
            return;
        }

        public /* override */ call(arg1: MessageBlock): void
        {
            var loc1=arg1.messageBase as SHandselFlowerCrossInfo;
            var loc2=PlayerUtil.getProxyAndName(loc1.miniPlayer);
            MsgManager.addBroadCast(Language.getStringByParam(41417, HTMLUtil.addColor(loc2, ColorConfig.instance.getCountryColor(loc1.miniPlayer.camp).color)));
            return;
        }
    }
